/** 
 * 请求模块
 * */ 
import request from "../utils/request";
// 备注：custom用来传递额外的参数，比如catch: true，用于控制是否需要在页面中单独处理请求失败后的逻辑, 详情看request.js文件

// 测试get请求
export const requestTest1 = (params, custom = {}) => request.get('/api/warehouse/list', { params, custom});
// 测试post请求
export const requestTest2 = (data, custom = {}) => request.post('/api/reserve/confirm', data, {custom});
